package com.wg.springboot.jdk.lombok;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description:
 * @Author WuGang
 * @Date 2021/10/25 16:51
 * @Version 1.0
 */
@Data
//@EqualsAndHashCode(callSuper = true)
public class Student {
    private String name;
    private Integer age;

    public Student() {
    }
    public Student(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
}
